/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package vn.com.pps.services;

import java.util.ArrayList;
import vn.com.pps.entities.Teacher;
import vn.com.pps.web.ui.TeacherTableItem;

/**
 *
 * @author Dai
 */
public interface ITeacherService {
    public int countTeacher(String whereClause);
    public ArrayList<TeacherTableItem> getTeachers(int pageNo, int pageSize, String whereClause);
    public ArrayList<TeacherTableItem> getTeachers();
    public Teacher getTeacher(Integer id);
    public int saveTeacher(Teacher teacher);
    public int editTeacher(Teacher teacher);
}
